
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE" />
    <title>权限维护</title>
    <link href="${basePath}/css/all.css" rel="stylesheet" type="text/css" />
    <link href="${basePath}/css/pop.css" rel="stylesheet" type="text/css" />
    <link href="${basePath}/css/zTreeStyle/zTreeStyle.css" type="text/css" rel="stylesheet" />
    <link href="${basePath}/css/jquery.validate.css" type="text/css" rel="stylesheet" />
    <link href="${basePath}/css/rmenu.css" type="text/css" rel="stylesheet" />
    <script src="${basePath}/js/common/jquery-1.8.3.js" type="text/javascript"></script>
    <script src="${basePath }/js/common/jquery.ztree.all.js" type="text/javascript"></script>
    <script src="${basePath}/js/common/validation/jquery.validate.js" type="text/javascript"></script>
    <script src="${basePath}/js/common/validation/messages_zh.js" type="text/javascript"></script>
    <script src="${basePath}/js/common/common.js" type="text/javascript"></script>
    <script src="${basePath}/js/system/auth.js" type="text/javascript"></script>
    <style type="text/css">

    </style>
</head>
<body style="background: #e1e9eb;">
<input type="hidden" value="${basePath}" id="basePath"/>
<!-- 用户维护页面 -->
<div class="wishlistBox" id="userMaintain" style="display:none;left:450px;top:150px;">
    <div class="personRigTop persongBgimg" style="height:200px;width:480px;">
        <div class="persongRightTit" style="width:480px;" id="userTitle">&nbsp;&nbsp;新增用户</div>
        <div class="persongRigCon">
            <form id="userForm">
                <table class="x-form-table">
                    <tbody>
                    <tr class="line">
                        <td class="left" width="10%"><em class="required">*</em><label>用户名：</label></td>
                        <td width="90%">
                            <input type="hidden" id="userId"/>
                            <input type="text" class="normal-input" id="userName" name="userName" style="width: 240px;"/>
                        </td>
                    </tr>
                    <tr class="line">
                        <td class="left"><em class="required">*</em><label>中文名：</label></td>
                        <td>
                            <input type="text" class="normal-input" name="chName" id="chName" style="width: 240px;"/>
                        </td>
                    </tr>
                    <tr class="line">
                        <td class="left"><label>密码：</label></td>
                        <td>默认密码与用户名相同。<font color="red">请创建后立刻登录修改默认密码！</font></td>
                    </tr>
                    <tr>
                        <td class="left"></td>
                        <td class="submit">
                            <input class="tabSub" type="button" value="提交" onclick="saveUser();"/>
                            <input class="tabSub" type="reset" value="关闭" onclick="closeUser();"/>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
</div>


<!-- 用户组维护页面 -->
<div class="wishlistBox" id="groupMaintain" style="display:none;left:450px;top:150px;">
    <div class="personRigTop persongBgimg" style="height:200px;width:480px;">
        <div class="persongRightTit" style="width:480px;" id="groupTitle">&nbsp;&nbsp;新增用户组</div>
        <div class="persongRigCon">
            <form id="groupForm">
                <table class="x-form-table">
                    <tbody>
                    <tr class="line">
                        <td class="left" width="10%"><em class="required">*</em><label>用户组名：</label></td>
                        <td width="90%">
                            <input type="hidden" id="groupId"/>
                            <input type="text" class="normal-input" id="groupName" name="groupName" style="width: 240px;"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="left"></td>
                        <td class="submit">
                            <input class="tabSub" type="button" value="提交" onclick="saveGroup();"/>
                            <input class="tabSub" type="reset" value="关闭" onclick="closeGroup();"/>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
</div>

</body>
</html>
